package com.lzhan.day15.producerconsumer;

public class Test {
	public static void main(String[] args) {
		Shop shop=new Shop();
		Producer producer=new Producer(shop);
		Consumer consumer=new Consumer(shop);
		Consumer consumer2=new Consumer(shop);
		new Thread(producer).start();
		new Thread(consumer).start();
		new Thread(consumer2).start();
	}
	
}
